from datetime import datetime
from RealProject.db_init import db
from flask_sqlalchemy import SQLAlchemy

class User(db.Model):
    """用户给模型"""
    __tablename__ = 'person'
    id = db.Column(db.Integer,primary_key = True)
    name = db.Column(db.String(128),nullable = False)


    def __repr__(self):
        return '<User %r>'%self.name
